.type_page {
    width: 1180px;
    margin: 0 auto;
}

@color: #80c4ae;


//头部
#header {
    .header {
        width: 1180px;
        height: 80px;
        background: #fff;
    }

    background: #fff;
    height: 80px;
    margin-bottom: 30px;

    h1 {
        height: 50px;
        width: 178px;
        float: left;
        margin-top: 13px;

        img {
            width: 178px;
        }
    }

   .center{
        float: left;
        margin: 0 120px 0 200px;
        line-height: 80px;

        li {
            width: 80px;
            margin-right: 10px;
            font-size: 16px;
            float: left;
            text-align: center;
            font-weight: bold;
            cursor: pointer;

            &.cur {
                background: @color;

            }

            a {
                display: block;
                color: #333;
                text-decoration: none;
                &.cur {

                    color: #fff;
                }
            }
        }
    }

    .right {
        float: right;
        margin-top: 22px;
        position: relative;
        &>div {
            &:nth-child(4) {
                float: left;
                height: 36px;
                line-height: 36px;

                b {
                    float: left;
                    line-height: 34px;
                    font-size: 14px;
                    cursor: pointer;
                    color: #333;
                    cursor: pointer;
                }

                span {
                    float: left;
                    line-height: 34px;
                    font-size: 14px;
                    cursor: pointer;
                    margin: 0 3px;
                }




            }

            &:nth-child(5) {

                margin-right: 26px;
                position: relative;
                display: none;
                float: left;
                img{
                    cursor: pointer;
                    display: block;
                    height: 38px;
                    width: 38px;
                    background: #ccc;
                    border-radius: 50%;
                }
                
                ul{
                    display: none;
                    position: absolute;
                    left: -60px;
                    top: 40px;
                    background: url(../img/login/jx.png);
                    background-size: 110px 257px;
                    height: 257px;
                    width: 110px;
                    padding-top: 25px;
                    box-sizing: border-box;

                    z-index: 2;
                    li{
                        &:first-child{
                            cursor:default;
                            font-weight: bold;
                        }
                        &:last-child{
                            color: #a2a2a2;
                        }
                        cursor: pointer;
                        height: 37px;
                        font-size: 12px;;
                        text-align: center;
                    }
                }
            }
        }

        input {
            font-size: 16px;
            float: left;
            line-height: 34px;
            outline: none;
            width: 175px;
            border: 1px solid @color;
            padding-left: 35px;
            margin-right: 24px;
            border-radius: 3px;

            &::placeholder {
                padding-top: 5px;
                color: #a6a6a6;
                font-size: 12px;
            }
        }
        &>img{
            position: absolute;
            color: @color;
            top: 7px;
            left: 212px;
            height: 24px;
            width: 24px;
            
            cursor: pointer;
        }
        &>span {
            float: left;

            &:nth-child(1) {
                float: left;
                border: 1px solid @color;
                border-right: none;
                text-align: center;
                line-height: 34px;
                width: 67px;
                border-top-left-radius: 3px;
                border-bottom-left-radius: 3px;
                font-size: 14px;
                color: @color;
                cursor: pointer;
            }

            




        }


    }
}

//关于
#footer {
    background: #333;

    text-align: center;

    .footer {
        padding: 88px 0;
        background: #333;

        ul {
            margin: 0 auto 18px;
            padding-left: 52px;

            li {
                float: left;
                font-size: 14px;
                line-height: 14px;
                color: #fefefe;

                a {
                    color: #fefefe;
                    font-size: 14px;
                    line-height: 14px;
                }

                span {
                    margin: 0 4px;
                }
            }
        }
    }

    p {
        line-height: 18px;
        font-size: 14px;
        color: #fefefe;

    }
}


//登录页面
//模态窗口
#layer {
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .2)
}

//登录页面

#login {
    display: none;
    text-align: center;
    height: 522px;
    width: 520px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -261px;
    margin-left: -260px;
    background: #fff;

    &>span {
        position: absolute;
        color: #999;
        top: 24px;
        right: 24px;
        font-size: 24px;
        cursor: pointer;
    }

    h1 {
        height: 40px;
        width: 134px;
        margin: 30px auto 50px;

        img {
            height: 100%;
            width: 100%;
        }
    }

    p {

        &:nth-child(2),
        &:nth-child(8) {
            position: relative;
            text-align: center;
            width: 482px;
            height: 18px;
            margin: 0 auto 24px;

            b {



                font-size: 18px;
                line-height: 18px;
                text-align: center;
                font-weight: bold;
                position: relative;
            }

            span {
                height: 1px;
                position: absolute;
                width: 136px;
                top: 8px;
                background: #ececec;

                &:nth-child(1) {
                    left: 0;

                }

                &:nth-child(3) {
                    right: 0;
                }
            }
        }

        &:nth-child(4) {
            input {
                margin-bottom: 0;
            }

        }

        &:nth-child(5) {
            height: 30px;
            line-height: 30px;
            color: #f77c7f;
            visibility: hidden;
        }

        &:nth-child(6) {
            input {
                border: none;
                background: #74c6b3;
                text-align: center;
                margin-bottom: 10px;
                padding: 0;
                color: #fff;
                font-size: 16px;
            }
        }

        &:nth-child(7) {
            width: 300px;
            margin: 0 auto 40px;

            &>a {

                float: left;
                color: #74c6b3;
                font-size: 12px;

            }

            span {
                float: right;

                a {
                    color: #74c6b3;
                }
            }
        }

        &:nth-child(9) {
            img {
                display: inline-block;
                height: 36px;
                width: 36px;
                margin-right: 30px;
                cursor: pointer;

                &:nth-child(3) {
                    margin: 0;
                }
            }
        }

    }

    input {

        outline: none;
        border: 1px solid #80c4ae;
        height: 40px;
        width: 300px;
        box-sizing: border-box;
        padding-left: 24px;
        margin-bottom: 20px;
    }
}


//注册页面

#register {
    display: none;
    text-align: center;
    height: 522px;
    width: 520px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -261px;
    margin-left: -260px;
    background: #fff;

    &>span {
        position: absolute;
        color: #999;
        top: 24px;
        right: 24px;
        font-size: 24px;
        cursor: pointer;
    }

    h1 {
        height: 40px;
        width: 134px;
        margin: 30px auto;

        img {
            height: 100%;
            width: 100%;
        }
    }

    p {
        &>em {
            display: block;
            line-height: 12px;
            color: #9e9e9e;
            font-size: 12px;
            margin: 7px 0 11px;
            text-align: left;
            padding-left: 126px;
            visibility: hidden;
        }

        &:nth-child(2) {
            position: relative;
            text-align: center;
            width: 482px;
            height: 18px;
            margin: 0 auto 24px;

            &>b {
                font-size: 18px;
                line-height: 18px;
                text-align: center;
                font-weight: bold;
                position: relative;
            }

            span {
                height: 1px;
                position: absolute;
                width: 136px;
                top: 8px;
                background: #ececec;

                &:nth-child(1) {
                    left: 0;

                }

                &:nth-child(3) {
                    right: 0;
                }
            }
        }

        &:nth-child(7) {
            input {
                border: none;
                background: #74c6b3;
                text-align: center;
                margin-bottom: 10px;
                padding: 0;
                color: #fff;
                font-size: 16px;
            }
        }

        &:nth-child(6) {
            width: 300px;
            margin: 0 auto;

            input {
                width: 150px;
                margin-right: 27px;
                display: inline-block;
            }

            img {
                margin-top: 3px;
                display: inline-block;
                vertical-align: middle;
            }

            em {
                padding-left: 16px;
            }

        }

        &:nth-child(8) {
            width: 300px;
            margin: 0 auto;

            input {
                height: 16px;
                width: 16px;
                border: 2px solid #cdcdcd;
                box-sizing: border-box;
                float: left;
                margin-right: 9px;
            }

            span {
                &:nth-child(2) {
                    float: left;
                    color: #a9a9a9;
                }

                &:nth-child(4) {
                    float: right;

                    a {
                        color: #74c6b3;
                        margin-left: 5px;
                    }
                }
            }

            &>a {
                margin-left: 7px;
                float: left;
                color: #a3a3a3;
            }
        }


    }

    input {
        outline: none;
        border: 1px solid #80c4ae;
        height: 40px;
        width: 300px;
        box-sizing: border-box;
        padding-left: 24px;
        // margin-bottom: 30px;
    }
}


//返回顶部按钮
#return_top {
    position: fixed;
    bottom: 0;
    right: 15px;
    display: none;
    img{
        margin-bottom: 6px;
        height: 70px;
        width: 70px;
        background: #ffefd6;
        border-radius: 4px;
    }

}